package com.syxx.oa.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;


@Entity
@Table(name="t_approveInfo")
public class ApproveInfo_1 implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long _id;
    private String desc;
	private String approveTime;
	private Employee approver;
	private String approveType;
	
	private PersonnelRequirement perReq;

	
	
	@Column(name="desc_")
	public String getDesc() {
		return desc;
	}
	
	@Id @GeneratedValue
	public Long get_id() {
		return _id;
	}

	public void set_id(Long _id) {
		this._id = _id;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getApproveTime() {
		return approveTime;
	}

	public void setApproveTime(String approveTime) {
		this.approveTime = approveTime;
	}

	@ManyToOne
	public Employee getApprover() {
		return approver;
	}

	public void setApprover(Employee approver) {
		this.approver = approver;
	}

	@ManyToOne
	public PersonnelRequirement getPerReq() {
		return perReq;
	}

	public void setPerReq(PersonnelRequirement perReq) {
		this.perReq = perReq;
	}

	public String getApproveType() {
		return approveType;
	}

	public void setApproveType(String approveType) {
		this.approveType = approveType;
	}
	
}
